<?php
Yii::import('application.behaviors.ListBehavior');

/**
 * MatrimonyBehavior class
 *
 * @author Julot
 * @since Friday, June 15, 2012. 10:02 AM
 */
class MatrimonyListBehavior extends ListBehavior {

	const SINGLE = 'Single';
	const MARRIED = 'Married';
	const DIVORCED = 'Divorced';

	public function data() {
		return array(
			self::SINGLE=>array('text'=>self::SINGLE, 'color'=>'green'),
			self::MARRIED=>array('text'=>self::MARRIED, 'color'=>'red'),
			self::DIVORCED=>array('text'=>self::DIVORCED, 'color'=>'yellow'),
		);
	}

}
